Ext.define('Usws.view.userAttr.UserAttrEdit', {
    extend: 'Ext.window.Window',
    xtype: 'UserAttr-Edit',
    title: '编辑用户扩展属性信息',
    layout: 'fit',
    autoShow: true,
    modal: true,
    initComponent: function() {
        this.items = [
            {
                xtype: 'form',
                padding: '10px',
                border: 0,
                items: [
                    { xtype: 'textfield', name:'userAttr.uid', id: 'uid', fieldLabel: 'UID'}
,{ xtype: 'textfield', name:'userAttr.provinceCode', id: 'provinceCode', fieldLabel: '省'}
,{ xtype: 'textfield', name:'userAttr.cityCode', id: 'cityCode', fieldLabel: '市'}
,{ xtype: 'textfield', name:'userAttr.strictCode', id: 'strictCode', fieldLabel: '区'}
,{ xtype: 'textfield', name:'userAttr.mobileNo', id: 'mobileNo', fieldLabel: '手机号码'}
,{ xtype: 'textfield', name:'userAttr.contactAddr', id: 'contactAddr', fieldLabel: '详细地址'}
,{ xtype: 'datefield', name:'userAttr.birthDate', id: 'birthDate', fieldLabel: '生日'}
,{ xtype: 'textfield', name:'userAttr.qqNo', id: 'qqNo', fieldLabel: 'QQ'}

                ]
            }
        ];

        this.buttons = [
            {
                text: '确定',
                action: 'save'
            },
            {
                text: '取消',
                scope: this,
                handler: this.close
            }
        ];
        
        this.callParent(arguments);
    }
});